package com.lakeworks.domain.status;

import com.lakeworks.common.domain.base.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @Author: Auxps
 * @Date: 2023/2/27
 * Description:
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class StatusRecord extends BaseDomain {

    /**
     * 类型（入厂单、作业产品、出厂单）
     */
    private String type;
    /**
     * 标识id（入厂单、作业产品、出厂单）
     */
    private Long fieldId;

    private String status;

    private Long userId;


    @Override
    public String toString() {
        return "StatusRecord{" +
                "type='" + type + '\'' +
                ", fieldId=" + fieldId +
                ", status='" + status + '\'' +
                ", userId=" + userId +
                "} " + super.toString();
    }
}
